Personal tools

Lua/Shared/Vector3/Static Functions/DistanceSqr2D

From JC2-MP Documentation

< Lua‎ | Shared‎ | Vector3
Jump to: navigation, search

Returns    number
Prototype    Vector3.DistanceSqr2D(Vector3, Vector3)
Description    Calculates the squared 2D distance between the given vectors ignoring the y-axis value, this is much faster than calculating the normal distance.